package one.stand.response.essay;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 获客文章任务
 * @author luoyang
 * @date 2020/5/12 13:56
 */
@Data
@ApiModel(value="TaskCustomerResponse对象", description="获客文章任务")
public class TaskCustomerResponse implements Serializable {
    @ApiModelProperty(value = "获客任务id,有值是修改，无值是添加")
    private Long taskCustomerId;

    @ApiModelProperty(value = "任务名称")
    private String taskName;

    @ApiModelProperty(value = "文章id")
    private Integer dynamicId;

    @ApiModelProperty(value = "文章标题")
    private String title;

    @ApiModelProperty(value = "所属公司")
    private Long companyId;

    @ApiModelProperty(value = "文章分享数量")
    private Integer shareNum = 0;

    @ApiModelProperty(value = "新增访客数量")
    private Integer visitNum = 0;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "任务状态 0 未完成 1已完成 2已逾期")
    private Integer state ;

    @ApiModelProperty(value = "查看状态 0 未查看 1已查看")
    private Integer viewState;

    @ApiModelProperty(value = "创建者")
    private Integer userId;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "任务员工")
    private List<Integer> taskUsers;


}
